<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">  
<title>专利协同服务网络平台</title>
<link href="${pageContext.request.contextPath}/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery/jquery-3.2.1.min.js"></script>
<script type="text/javascript">
function checkTime(i)
{
	if (i<10) 
	{i="0" + i}
	return i;
}
function startTime(){
	var today=new Date();
	var yyyy=today.getFullYear()
	var MM=today.getMonth()+1;
	var dd=today.getDate();
	var h=today.getHours();
	var m=today.getMinutes();
	var s=today.getSeconds();
	m=checkTime(m);
	s=checkTime(s);
	$("#time").html("现在时间 : "+yyyy+"年"+MM+"月"+dd+"日   "+h+":"+m+":"+s);
	t = setTimeout('startTime()',500);
}

</script>
</head>
<body onload="startTime()">
	<div class="place">
	    <span>位置：</span>
	    <ul class="placeul">
	    	<li><a href="#">首页</a></li>
	    </ul>
    </div>
    <div class="mainindex">
	    <div class="welinfo">
	    <span><img src="${pageContext.request.contextPath}/images/sun.png" alt="天气图片" /></span>
	    <b>${sessionScope.user.userName} : 您好，欢迎登陆专利协同服务网络平台</b>
	    </div>
	    <div class="welinfo">
		    <span>
		    	<img src="${pageContext.request.contextPath}/images/time.png" alt="时间" />
		    </span>
		   	<i id="time">
			</i>
	    </div>
	    <div class="box"></div>
	    <div class="xline"></div>
	    <div class="info"><b>平台通知信息</b></div>
    </div>
</body>
</html>